package com.blue.bluecode.service;

import android.app.IntentService;
import android.content.Intent;
import android.util.Log;

/**
 * Created by bluewaitor on 2015/4/14.
 */
public class MyIntentService extends IntentService {
    public MyIntentService(String name) {
        super(name);

    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        return super.onStartCommand(intent, flags, startId);
    }

    public MyIntentService(){
        super("MyIntent------");
    }

    @Override
    protected void onHandleIntent(Intent intent) {
        String str = intent.getStringExtra("xys");
        Log.i("xys====================", str);

    }
}
